package io.renren.modules.wyzs.mobile_EnumMoudle;

public enum ScaleType {

        Nothing(0),
        /// <summary>
        /// ����
        /// </summary>
        Sales(1),
        /// <summary>
        /// �ɹ�
        /// </summary>
        Purch(2),
        /// <summary>
        /// ����
        /// </summary>
        Other(3),
        /// <summary>
        /// ����
        /// </summary>
        Allot(4),
        /// <summary>
        /// ����
        /// </summary>
        Manager(5);
        
    	private int value;
    	private ScaleType(int value) {
    		this.value = value;
    	}
    	public int getValue() {
    		return value;
    	}
    	public static ScaleType getEnumFromString(String string) {
    		if (string != null) {
    			return Enum.valueOf(ScaleType.class, string.trim());
    		}
    		return null;
    	}

}
